package com.example.magicapi.mapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
/**
 *
 * @author zk
 */
@Mapper
public interface CustomMapper {
    List<Map<String,Object>> getCustomList_y(Map<String,Object> params);
    List<Map<String,Object>> getCustomList(Map<String,Object> params);
    Integer add(Map<String, Object> params);
    Integer update(Map<String, Object> params);
    Integer judgeIfExistSameShortName(Map<String, Object> params);
    List<Map<String, Object>> findByCondition(Map<String, Object> params);
    List<Map<String, Object>> getCdStructuredTemplate(Map<String, Object> params);
    Integer addCdStructuredTemplate(Map<String, Object> params);
    Integer addCdStructuredCustomDetail(Map<String,Object> params);
    Integer updateCdStructuredTemplate(Map<String, Object> params);
    Integer updateCdStructuredCustomDetail(Map<String, Object> params);
    Integer deleteCdStructuredCustomDetailByParam(Map<String, Object> params);
    Integer batchAddCdStructuredCustomDetail(List<Map<String, Object>> addList);

    Integer deleteCdStructuredCustomDetail(String customId);
}

